import React from 'react'
import { render } from 'react-dom'
import { createStore } from 'redux'
import { Provider } from 'react-redux'
import App from './component/userlogin'
import toadd from './reducer/toapp.js'
import { Steps } from 'antd';
const Step = Steps.Step;
 
let store = createStore(toadd)
 
//   <App  onAddClick={text =>store.dispatch({type:1,text})}  oncount={index=>store.dispatch({type:2,index})} />
let rootElement = document.getElementById('root')
render(
     
  //<Provider store={store}>
   // <Steps current={1}>
   // <Step title="Finished" description="This is a description." />
    //<Step title="In Progress" description="This is a description." />
   // <Step title="Waiting" description="This is a description." />
  //</Steps>,
  //</Provider>
  <App/>,
  rootElement
)